package liuliu.throughwaring.control.picture;

import android.content.Context;

import liuliu.throughwaring.control.task.QueryTask;

/**
 * Created by Administrator on 2016/3/28.
 */
public class PictureListener {
    Context mContext;
    IPictureView iPictureView;
    QueryTask task;

    public PictureListener(Context context, IPictureView view) {
        mContext = context;
        iPictureView = view;
        task = new QueryTask(mContext);
    }

    //获取图片
    public void getPicture(String pid) {
        task.getPicture(pid,iPictureView);
    }
}
